package com.cyy.partner.utils;

/**
 * @Author: cyy
 * @Date: 2024/4/27
 */
public class ThreadLocalUtil {
    private static final ThreadLocal THREAD_LOCAL = new ThreadLocal();
    public static<T> T get(){
        return (T)THREAD_LOCAL.get();
    }
    public static void set(Object value) {
        THREAD_LOCAL.set(value);
    }
    public static void remove(){
        THREAD_LOCAL.remove();
    }
}
